package com.project.bean;

import java.time.LocalDate;

public class ManBean {

    private int ID;
    private String name ;
    private LocalDate birthday;

    public ManBean() {
    }

    public ManBean(String name, LocalDate birthday) {
        this.name = name;
        this.birthday = birthday;
    }

    public int getID() {
        return ID;
    }

    public void setID(int ID) {
        this.ID = ID;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public LocalDate getBirthday() {
        return birthday;
    }

    public void setBirthday(LocalDate birthday) {
        this.birthday = birthday;
    }

    @Override
    public String toString() {
        return "ManBean{" +
                "ID=" + ID +
                ", name='" + name + '\'' +
                ", birthday=" + birthday +
                '}'+"\n";
    }
}
